package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取新冠状肺炎疫情感染人数统计数据
* @author: codesmith
**/
public interface NcovNumBean extends BaseBean {
    String API_NAME = "ncov_num";
    
    interface Fields {
    String ann_date = "ann_date";    //发布日期
    String area_name = "area_name";    //地区名称
    String parent_name = "parent_name";    //上一级地区
    String level = "level";    //级别
    String confirmed_num = "confirmed_num";    //累计确诊人数
    String suspected_num = "suspected_num";    //累计疑似人数
    String confirmed_num_now = "confirmed_num_now";    //现有确诊人数
    String suspected_num_now = "suspected_num_now";    //现有疑似人数
    String cured_num = "cured_num";    //累计治愈人数
    String dead_num = "dead_num";    //累计死亡人数
    }
    
    interface Params {
        area_name area_name = new area_name();
        /*
        * 地区名称
        */
        class area_name extends BaseRequestParam {
            { key = "area_name"; }
        }
        level level = new level();
        /*
        * 级别：2-中国内地，3-省级，4-地区市级别
        */
        class level extends BaseRequestParam {
            { key = "level"; }
        }
        ann_date ann_date = new ann_date();
        /*
        * 公告日期
        */
        class ann_date extends BaseRequestParam {
            { key = "ann_date"; }
        }
        start_date start_date = new start_date();
        /*
        * 查询开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 查询结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
    }
}